package com.ddm.ddm.mapper;

import com.ddm.ddm.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lq
 * @since 2021-07-09
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

  Admin selectBygName(@Param("gName") String gName,@Param("gPassword")String gPassword);

  int add(Admin admin);

}
